Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: backup to stdout and other paths and import from stdin #139

Merged
merged 8 commits into from
May 10, 2022

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 commented May 6, 2022

  • adds a -o flag to backup-keys, so users can backup to any filepath
  • -o - prints only the private key to stdout, so it can be pipes to other things, e.g. melt
  • allow to restore keys from stdin

closes #128
closes #116
closes charmbracelet/melt#17
refs charmbracelet/melt#18

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
@caarlos0 caarlos0 added the enhancement New feature or request label May 6, 2022
@caarlos0 caarlos0 requested a review from bashbunni May 6, 2022 01:26
@caarlos0 caarlos0 self-assigned this May 6, 2022
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
@caarlos0 caarlos0 changed the title feat: backup to stdout and other paths feat: backup to stdout and other paths and import from stdin May 9, 2022
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
@caarlos0 caarlos0 requested review from toby and meowgorithm May 9, 2022 17:52
@caarlos0 caarlos0 merged commit 075fe60 into main May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Melt Support for Backups
2 participants